#
# Architecture dependent config file
# vim:filetype=sh:

#Fortran  flags
case $FC in
	ifort)
	fcflags="-O3 -DINT64 -cpp -i8 -assume byterecl -assume buffered_io -extend-source"
	fdebug="-g -check all -traceback"
	fprof="-pg"
	frange="-C"
	fldflags="-O3 -i8 -assume byterecl -assume buffered_io"
	case $MPI_TYPE in
		openmpi)
		[ "x$OPENMPI" != x ] && fldflags="$fldflags -Wl,-rpath,$OPENMPI/lib"
		;;
	esac
	;;
	*) 
	fcflags="-O3 -DINT64 -cpp -i8 -assume byterecl -assume buffered_io"
	fdebug="-g -check all -traceback"
	fprof="-pg"
	frange="-C"
	fldflags="-O3 -i8 -assume byterecl -assume buffered_io"
	;;
esac

# C compiler flags
cflags="-O2 -ansi -DLinux"
cdebug="-g -check all -traceback"
cprof="-p"
crange=
cldflags="-O3 -ansi"

